CVE-2024-58263
Cosmwasm-std Integer Overflow Vulnerability
Description
The cosmwasm-std crate before 2.0.2 for Rust allows integer overflows that cause incorrect contract calculations.
INFO
Published Date :
July 27, 2025, 8:15 p.m.
Last Modified :
Aug. 7, 2025, 3:01 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source | 
|---|---|---|---|---|---|---|
| CVSS 3.1 | LOW | [email protected] | ||||
| CVSS 3.1 | MEDIUM | [email protected] | 
Solution
- Update the cosmwasm-std crate to a fixed version.
 - Verify contract calculations after updating.
 
References to Advisories, Solutions, and Tools
                                            Here, you will find a curated list of external links that provide in-depth
                                            information, practical solutions, and valuable tools related to
                                            CVE-2024-58263.
                                        
| URL | Resource | 
|---|---|
| https://crates.io/crates/cosmwasm-std | Product | 
| https://github.com/CosmWasm/advisories/blob/main/CWAs/CWA-2024-002.md | Exploit Patch Third Party Advisory | 
| https://rustsec.org/advisories/RUSTSEC-2024-0338.html | Exploit Third Party Advisory | 
CWE - Common Weakness Enumeration
            While CVE identifies
            specific instances of vulnerabilities, CWE categorizes the common flaws or
            weaknesses that can lead to vulnerabilities. CVE-2024-58263 is
            associated with the following CWEs:
        
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
            (CAPEC)
            stores attack patterns, which are descriptions of the common attributes and
            approaches employed by adversaries to exploit the CVE-2024-58263
            weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
			The following list is the news that have been mention
			CVE-2024-58263 vulnerability anywhere in the article.
		
                The following table lists the changes that have been made to the
                CVE-2024-58263 vulnerability over time.
            
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
- 
                            
Initial Analysis by [email protected]
Aug. 07, 2025
Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N Added CPE Configuration OR *cpe:2.3:a:cosmwasm:cosmwasm-std:*:*:*:*:*:rust:*:* versions from (including) 1.3.0 up to (excluding) 1.4.4 *cpe:2.3:a:cosmwasm:cosmwasm-std:*:*:*:*:*:rust:*:* versions from (including) 1.5.0 up to (excluding) 1.5.4 *cpe:2.3:a:cosmwasm:cosmwasm-std:*:*:*:*:*:rust:*:* versions from (including) 2.0.0 up to (excluding) 2.0.2 Added Reference Type MITRE: https://crates.io/crates/cosmwasm-std Types: Product Added Reference Type MITRE: https://github.com/CosmWasm/advisories/blob/main/CWAs/CWA-2024-002.md Types: Exploit, Patch, Third Party Advisory Added Reference Type MITRE: https://rustsec.org/advisories/RUSTSEC-2024-0338.html Types: Exploit, Third Party Advisory  - 
                            
CVE Modified by [email protected]
Jul. 27, 2025
Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N Added CWE CWE-190  - 
                            
New CVE Received by [email protected]
Jul. 27, 2025
Action Type Old Value New Value Added Description The cosmwasm-std crate before 2.0.2 for Rust allows integer overflows that cause incorrect contract calculations. Added Reference https://crates.io/crates/cosmwasm-std Added Reference https://github.com/CosmWasm/advisories/blob/main/CWAs/CWA-2024-002.md Added Reference https://rustsec.org/advisories/RUSTSEC-2024-0338.html